#include "stdafx.h"
#include "utils.h"

using namespace FTLib;

const char* PixelType2String(FTLib::PixelType pixeltype)
{
	switch (pixeltype)
	{
	case PixelType::GrayFloat32:
		return "GrayFloat32";
	case PixelType::GrayDouble64:
		return "GrayDouble64";
	case PixelType::ComplexFloat32:
		return "ComplexFloat32";
	case PixelType::ComplexDouble64:
		return "ComplexDouble64";
	case PixelType::Gray16:
		return "Gray16";
	case PixelType::Gray8:
		return "Gray8";
	default:
		return "Illegal";
	}
}

//------------------------------------------------------------------------------

